From ff082c0afe6e70671bfb1173a5316bf1792dc21c Mon Sep 17 00:00:00 2001 From: John Goerzen Date: Thu, 17 Jul 2008 15:17:31 -0500 Subject: [PATCH] Revert "Applied patch from ubuntu so this commits" Going to use upstream patch instead This reverts commit 0960c8402c70eaeeafdc750f54b7fc4ed12d1d6c. --- lmx.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lmx.c b/lmx.c index 15625f2ab..5082a0cc0 100644 --- a/lmx.c +++ b/lmx.c @@ -31,7 +31,7 @@ static gbfile *ofd; static waypoint *wpt_tmp; -char *linkNEW, *linkt; +char *link, *linkt; #define MYNAME "lmx" @@ -205,25 +205,25 @@ lmx_lm_desc(const char *args, const char **unused) static void lmx_lm_mlink_s(const char *args, const char **unused) { - linkNEW = linkt = NULL; + link = linkt = NULL; } static void lmx_lm_link(const char *args, const char **unused) { - linkNEW = xstrdup(args); + link = xstrdup(args); } static void lmx_lm_linkt(const char *args, const char **unused) { - linkNEW = xstrdup(args); + linkt = xstrdup(args); } static void lmx_lm_mlink_e(const char *args, const char **unused) { - waypt_add_url(wpt_tmp, linkNEW, linkt); + waypt_add_url(wpt_tmp, link, linkt); } -- 2.30.2